package com.sduept.nwld.dataserver.manager.faultforecast;

import com.sduept.bigdata.weather.entity.SimpleIcingModel;
import com.sduept.nwld.dataserver.model.faultforecast.IceFaultSample;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public interface FaultForecastService {
	/**
	 * 设置样本值
	 * @param samples
	 */
	void setSamples(List<IceFaultSample> samples);
	/**
	 * 开始训练
	 */
	void startTrain();
	/**
	 * 预测
	 * @param icing
	 * @return
	 */
	Map<String, Double> doForecast(SimpleIcingModel iceData);
	
}
